export default (val) => {
  let hour = Math.floor(val / 3600),
      minute = Math.floor(val / 60),
      second = val % 60,
      newVal = ''
  hour < 10 ? hour = `0${hour}` : ''
  minute < 10 ? minute = `0${minute}` : ''
  second < 10 ? second = `0${second}` : ''
  hour === 0 ? newVal = `${hour}:${minute}:${second}` : newVal = `${minute}:${second}`
  return newVal
}